Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable compression of docs stored on S3 #944

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

jcrossley3
Copy link
Contributor

Fixes: #925

@jcrossley3 jcrossley3 requested a review from ctron October 25, 2024 19:14
Copy link
Contributor

@ctron ctron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Two minor things to sort out.

Mostly to account for the ParseError from the strum FromStr
impl... and then I got carried away.

Signed-off-by: Jim Crossley <[email protected]>
For the purposes of storing opaque docs, the only header we care about
is content-encoding. For us, the default content-type of
"application/octet-stream" is fine.

Signed-off-by: Jim Crossley <[email protected]>
@jcrossley3 jcrossley3 requested a review from ctron October 28, 2024 21:27
@ctron ctron added this pull request to the merge queue Oct 29, 2024
Merged via the queue into trustification:main with commit fe35933 Oct 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement storage compression for S3 too
2 participants